﻿
using System;
using System.IdentityModel.Tokens.Jwt;
using System.Linq;
using System.Security.Claims;
using System.Text;
using Microsoft.AspNetCore.Http;
using SqlSugar;

namespace Oliving.Edge.Model.Models
{
    ///<summary>
    ///数据字典明细表
    ///</summary> 

    [SugarTable("Sys_DataDictionary")]
    [Serializable]
    public class Sys_DataDictionary : BaseEntity
    {
        public Sys_DataDictionary()
        {
        }

 


        #region MyRegion

        /// <summary> 
        /// Desc:明细主键 
        /// Default: 
        /// Nullable:False 
        /// </summary> 

        [SugarColumn(IsPrimaryKey = true, ColumnName = "DD_Id", ColumnDescription = "明细主键", Length = 50, ColumnDataType = "nvarchar")]
        public string DD_Id { get; set; } = Guid.NewGuid().ToString();

        /// <summary> 
        /// Desc:父级主键 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        [SugarColumn(ColumnName = "DD_ParentId", ColumnDescription = "父级主键", IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string DD_ParentId { get; set; }

        /// <summary> 
        /// Desc:编码 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        [SugarColumn(ColumnName = "DD_Code", ColumnDescription = "编码", IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string DD_Code { get; set; }

        /// <summary> 
        /// Desc:名称 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        [SugarColumn(ColumnName = "DD_Name", ColumnDescription = "名称", IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string DD_Name { get; set; }

        /// <summary> 
        /// Desc:值 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        [SugarColumn(ColumnName = "DD_Value", ColumnDescription = "值", IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string DD_Value { get; set; }

        /// <summary> 
        /// Desc:快速查询 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        [SugarColumn(ColumnName = "DD_QuickQuery", ColumnDescription = "快速查询", IsNullable = true, Length = 200, ColumnDataType = "nvarchar")]
        public string DD_QuickQuery { get; set; }

        /// <summary> 
        /// Desc:简拼 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        [SugarColumn(ColumnName = "DD_SimpleSpelling", ColumnDescription = "简拼", IsNullable = true, Length = 200, ColumnDataType = "nvarchar")]
        public string DD_SimpleSpelling { get; set; }

        /// <summary> 
        /// Desc:是否默认 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        [SugarColumn(ColumnName = "DD_IsDefault", ColumnDescription = "是否默认", IsNullable = true, Length = 200, ColumnDataType = "nvarchar")]
        public string DD_IsDefault { get; set; }


        /// <summary> 
        /// Desc:备注 
        /// Default: 
        /// Nullable:True 
        /// </summary> 

        [SugarColumn(ColumnName = "Description", ColumnDescription = "备注", IsNullable = true, Length = 200, ColumnDataType = "nvarchar")]
        public string Description { get; set; }




        #endregion


        #region 记录数据的时间的操作者





        ///// <summary> 
        ///// Desc:排序码--------------------------- 
        ///// Default: 
        ///// Nullable:True 
        ///// </summary> 

        //[SugarColumn(ColumnName = "SortCode", ColumnDescription = "排序码---------------------------", IsNullable = true)]
        //public int? SortCode { get; set; }

        ///// <summary> 
        ///// Desc:删除标记 
        ///// Default: 
        ///// Nullable:True 
        ///// </summary> 

        //[SugarColumn(ColumnName = "DeleteMark", ColumnDescription = "删除标记", IsNullable = true)]
        //public int? DeleteMark { get; set; }

        ///// <summary> 
        ///// Desc:有效标志 
        ///// Default: 
        ///// Nullable:True 
        ///// </summary> 

        //[SugarColumn(ColumnName = "EnabledMark", ColumnDescription = "有效标志", IsNullable = true)]
        //public int? EnabledMark { get; set; }





        ///// <summary> 
        ///// Desc:创建日期 
        ///// Default: 
        ///// Nullable:True 
        ///// </summary> 

        //[SugarColumn(ColumnName = "CreateDate", ColumnDescription = "创建日期", IsNullable = true)]
        //public DateTime? CreateDate { get; set; }

        ///// <summary> 
        ///// Desc:创建用户主键 
        ///// Default: 
        ///// Nullable:True 
        ///// </summary> 

        //[SugarColumn(ColumnName = "CreateUserId", ColumnDescription = "创建用户主键", IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        //public string CreateUserId { get; set; }

        ///// <summary> 
        ///// Desc:创建用户 
        ///// Default: 
        ///// Nullable:True 
        ///// </summary> 

        //[SugarColumn(ColumnName = "CreateUserName", ColumnDescription = "创建用户", IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        //public string CreateUserName { get; set; }

        ///// <summary> 
        ///// Desc:修改日期 
        ///// Default: 
        ///// Nullable:True 
        ///// </summary> 

        //[SugarColumn(ColumnName = "ModifyDate", ColumnDescription = "修改日期", IsNullable = true)]
        //public DateTime? ModifyDate { get; set; }

        ///// <summary> 
        ///// Desc:修改用户主键 
        ///// Default: 
        ///// Nullable:True 
        ///// </summary> 

        //[SugarColumn(ColumnName = "ModifyUserId", ColumnDescription = "修改用户主键", IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        //public string ModifyUserId { get; set; }

        ///// <summary> 
        ///// Desc:修改用户 
        ///// Default: 
        ///// Nullable:True 
        ///// </summary> 

        //[SugarColumn(ColumnName = "ModifyUserName", ColumnDescription = "修改用户", IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        //public string ModifyUserName { get; set; }
        #endregion


    }

}
